package com.ljw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 预订记录表
 * </p>
 *
 * @author ljw
 * @since 2020-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Booksum对象", description="预订记录表")
public class Booksum implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "自增编号")
    @TableId(value = "booksum_id", type = IdType.AUTO)
    private Integer booksumId;

    @ApiModelProperty(value = "预订单号")
    private String booksumOrderNum;

    @ApiModelProperty(value = "用户编号")
    private Integer booksumUserId;

    @ApiModelProperty(value = "客房编号")
    private Integer booksumRoomId;

    @ApiModelProperty(value = "预订日期")
    private Date booksumInDate;

    @ApiModelProperty(value = "退房日期")
    private Date booksumOutDate;

    @ApiModelProperty(value = "预订类型")
    private String booksumType;

    @ApiModelProperty(value = "创建时间")
    private Date booksumCreateTime;

    @ApiModelProperty(value = "操作者")
    private Integer booksumCreateBy;

    @ApiModelProperty(value = "订单总额")
    private String booksumSumPrice;

}
